<template>
	<pug-skeleton
		rows="6"
		title
		:titleWidth="'100%'"
		:titleHeight="50"
		:rowsWidth="['100%','100%','100%','100%','100%','100%']"
		:rowsHeight="['200','50','20','200','50','20']"
		:loading="loading"
	>
		<view class="topes">
		<pug-menulist :themeColor="themeColor" :menuList="menuList" @result="result"></pug-menulist>
		</view>
		<view class="list-data" v-for="(item,index) in datalist" :key="item.id">
			<navigator :url="'/pagessub/hoteldetail/detail?id='+item.id" open-type="navigate">
				<view class="list-img">
					<u--image :showLoading="true" :src="item.img" width="100%"></u--image>
				</view>
				<view class="list-title">{{item.title}}</view>
				<view class="list-tips">{{item.description}}
				<text style="margin-left: 10px;"><u-icon name="map-fill" style="margin-right: 3px;"></u-icon>距我直线998m</text>
				</view>
				<view class="price">
					<text class="present">￥{{item.realprice}}</text>
					<text class="original">￥{{item.price}}</text>
				</view>
			</navigator>
		</view>
		<pug-loading v-if="total > 0" :loadType="loadType" :loadingText="['数据正在赶来的路上','亲，数据加载成功了','亲，我也是有底线的']"></pug-loading>
		<u-empty v-else mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png"></u-empty>
	</pug-skeleton>
</template>

<script>
import hotel from './hotel.js'
export default hotel;
</script>
<style>
	@import url("./hotel.css");
</style>
